chore(deps): upgrade dependencies to latest#3
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated dependency version constraints in requirements.txt: google-genai bumped from >=1.59.0 to >=1.68.0, openai updated from >=2.15.0 to >=2.29.0, and python-dotenv increased from >=1.2.1 to >=1.2.2. File formatting improved with added trailing newline. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
google-genaifrom>=1.59.0to>=1.68.0openaifrom>=2.15.0to>=2.29.0python-dotenvfrom>=1.2.1to>=1.2.2GitPythonat>=3.1.46because it is already at the latest PyPI releaseRelease impact
google-genai1.68.0 includes breaking changes in the Interactions API, but this repo usesgenai.Client(...).models.generate_content(...), which remains the documented path, so no code change was required hereopenai2.29.0 keepsclient.chat.completions.create(...)supported, and the recent 2.26.0-2.29.0 changes are not on this script's code pathpython-dotenvis a patch bump and this repo only usesload_dotenv()Validation
.venv/bin/python -m pip install --upgrade -r requirements.txt.venv/bin/python -m py_compile auto-commit.py.venv/bin/python auto-commit.py --help.venv/bin/python -c "from tempfile import TemporaryDirectory; from git import Repo; from google import genai; from openai import OpenAI; from dotenv import load_dotenv; load_dotenv(); with TemporaryDirectory() as d: Repo.init(d) client = genai.Client(api_key="test") openai_client = OpenAI(api_key="test") assert hasattr(client, "models") assert hasattr(openai_client, "chat") print("smoke-ok")"Primary sources
Summary by CodeRabbit